import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/tree/list',
    method: 'get',
    params
  })
}
export function getdel(params) {
  return request({
    url: '/tree/del',
    method: 'get',
    params
  })
}
export function delBatch(params) {
  return request({
    url: '/tree/delBatch',
    method: 'get',
    params
  })
}
export function add1(data) {
  return request({
    url: '/tree/add',
    method: 'post',
    data
  })
}
export function up1(data) {
  return request({
    url: '/tree/up',
    method: 'post',
    data
  })
}
export function findjs(params) {
  return request({
    url: '/tree/findjs',
    method: 'get',
    params
  })
}
export function findywy(params) {
  return request({
    url: '/tree/findywy',
    method: 'get',
    params
  })
}
export function find3(params) {
  return request({
    url: '/tree/find3',
    method: 'get',
    params
  })
}
